<template>
  <div class="kd_home">
    <el-container>
      <el-header>
        <HeaderVue />
      </el-header>
      <el-container>
        <div class="div-aside">
          <MenuVue />
        </div>
        <el-main>
          <Breadcrumb />
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts" setup>
import { ref, provide } from "vue";
import MenuVue from "./components/Menu.vue";
import HeaderVue from "./components/Header.vue";
import Breadcrumb from "@/components/Breadcrumb .vue"
const isShow = ref(false);
provide("menuShow", isShow);
</script>

<style lang="scss" scoped>
.kd_home {
  height: 100vh;
  :deep(.el-header) {
    background-color: #409eff;
    height: 70px;
  }
  .div-aside,
  :deep(.el-main) {
    height: calc(100vh - 70px);
    &::-webkit-scrollbar {
      width: 0;
    }
  }
  .div-aside   {
    background-color: rgb(48, 65, 86);
  }
  :deep(.el-menu) {
    border-right: none;
  }
}

// rgb(48, 65, 86)
</style>
